<form id="pagerForm" method="post" action="org/userList">
	<input type="hidden" name="currentPage" value="${BeanList.currentPage}" />
	<input type="hidden" name="pageSize" value="${BeanList.pageSize}" />
</form>

<div class="pageHeader">


	<form onsubmit="return navTabSearch(this);" action="org/userList" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					负责人：<input type="text" name="name" value="${Bean.name}"/>
				</td>
				
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>


<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="orgUser/userAdd" target="navTab"><span>添加</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="15%">登陆名</th>
				<th width="7%">姓名</th>
				<th width="15%">邮箱</th>
				<th width="8%">身份</th>
				<th width="5%">年龄</th>
				<th width="5%">性别</th>
				<th width="5%">状态</th>
				<th width="15%">创建时间</th>
				<th width="15%">修改时间</th>
				<th width="10%">操 作</th>
			</tr>
		</thead>
		<tbody>
		 <#list BeanList.data as user> 
			<tr target="sid_user" rel="1">
				<td>${user.loginName}</td>
				<td>${user.name!}</td>
				<td>${user.email}</td>
				<td><#if user.identity=5>机构负责人</#if></td>
				<td>${user.age!}</td>
				<td><#if user.sex=1>男 <#else> 女</#if></td>
				<td><#if user.status=1>正常 <#else><span style="color:red">删除</span></#if></td>
				<td>${user.gmtCreate?string("yyyy-MM-dd HH:mm:ss")}</td>
				<td>${user.gmtModified?string("yyyy-MM-dd HH:mm:ss")}</td>
				<td>
				 <a target="navTab" href="orgUser/userAdd?userId=${user.userId}">修改</a>
				 <#if user.status=1>
				  <a target="ajaxTodo" href="orgUser/userUpdate?userId=${user.userId}&status=2">删除</a>
				 <#else>
				  <a target="ajaxTodo" href="orgUser/userUpdate?userId=${user.userId}&status=1">恢复</a>
				 </#if>
				</td>
			</tr>
		</#list>	
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共${BeanList.totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="1"></div>
	</div>
</div>
